package com.hongxun.modules.csg.entity.dxf;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by xiaoji on 2016/3/23.
 * 图像对象
 */
public class Entities {
    //多行文本
    private List<Mtext> mtexts=new ArrayList<>();
    //单行文本
    private List<Text> texts=new ArrayList<>();
    //覆盖物数据
    private List<Hatch> hatches=new ArrayList<>();
    //圆
    private List<Circle> circles=new ArrayList<>();
    //线数据
    private List<Line> lines=new ArrayList<>();
    //矩形
    private List<LwPolyline> lwPolylines=new ArrayList<>();
    //矩形覆盖物
    private List<PolylineHatch> polylineHatches=new ArrayList<>();
    //曲线
    private List<Spline> splines=new ArrayList<>();

    //三角形覆盖物
    private List<TriangleHatch> triangleHatches=new ArrayList<>();

    public void addTriangleHatch(TriangleHatch triangleHatch){
        triangleHatches.add(triangleHatch);
    }

    public void addLine(Line line){
        lines.add(line);
    }

    public void addHatch(Hatch hatch){
        hatches.add(hatch);
    }

    public void addText(Text text){
        texts.add(text);
    }

    public void addMtext(Mtext mtext){
        mtexts.add(mtext);
    }

    public void addCircle(Circle circle){
        circles.add(circle);
    }

    public void addLwPolyline(LwPolyline lwPolyline){
        lwPolylines.add(lwPolyline);
    }

    public void addPolylineHatch(PolylineHatch polylineHatch){
        polylineHatches.add(polylineHatch);
    }

    public void addSpline(Spline spline){
        splines.add(spline);
    }

    public List<Mtext> getMtexts() {
        return mtexts;
    }

    public void setMtexts(List<Mtext> mtexts) {
        this.mtexts = mtexts;
    }

    public List<Hatch> getHatches() {
        return hatches;
    }

    public void setHatches(List<Hatch> hatches) {
        this.hatches = hatches;
    }

    public List<Circle> getCircles() {
        return circles;
    }

    public void setCircles(List<Circle> circles) {
        this.circles = circles;
    }

    public List<Line> getLines() {
        return lines;
    }

    public void setLines(List<Line> lines) {
        this.lines = lines;
    }

    public List<LwPolyline> getLwPolylines() {
        return lwPolylines;
    }

    public void setLwPolylines(List<LwPolyline> lwPolylines) {
        this.lwPolylines = lwPolylines;
    }

    public List<Text> getTexts() {
        return texts;
    }

    public void setTexts(List<Text> texts) {
        this.texts = texts;
    }

    public List<PolylineHatch> getPolylineHatches() {
        return polylineHatches;
    }

    public void setPolylineHatches(List<PolylineHatch> polylineHatches) {
        this.polylineHatches = polylineHatches;
    }

    public List<Spline> getSplines() {
        return splines;
    }

    public void setSplines(List<Spline> splines) {
        this.splines = splines;
    }

    public List<TriangleHatch> getTriangleHatches() {
        return triangleHatches;
    }

    public void setTriangleHatches(List<TriangleHatch> triangleHatches) {
        this.triangleHatches = triangleHatches;
    }
}
